package com.fili.core;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: fili
 * Date: Oct 5, 2006
 * Time: 9:51:56 PM
 * To change this template use File | Settings | File Templates.
 */
public class UscDataRec implements Serializable, Comparable
{
    public static final int SONDA_AER_1 = 0;
    public static final int SONDA_AER_2 = 1;
    public static final int SONDA_LEMN_1 = 2;
    public static final int SONDA_LEMN_2 = 3;
    public static final int SONDA_LEMN_3 = 4;
    public static final int SONDA_LEMN_4 = 5;
    public static final int SONDA_LEMN_5 = 6;
    public static final int SONDA_LEMN_6 = 7;
    public static final int MEDIE_AER = 8;
    public static final int MEDIE_LEMN = 9;
    public static final int UMID_AER = 10;
    public static final int TEMP_DORITA = 11;

    public Date data;

    public int[] valori;

    public boolean ventilare, incalzire;


    public int compareTo(Object o)
    {
        if (o instanceof UscDataRec)
            return data.compareTo(((UscDataRec) o).data);

        return 0;
    }
}
